package com.social.socialservice.model;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * 贴文表
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class PostInfo {
    private Integer post_id;
    private Integer pl_parent_id;
    private Integer zf_parent_id;
    private Integer zf_quick;
    private Integer zf_user_id;
    private Integer reply_user_id;
    private String reply_user_account;
    private Integer user_id;
    private String post_content;
    private Integer zf_counts;
    private Integer pl_counts;
    private Integer xh_counts;
    private Integer fw_counts;
    private String sp_url;
    private String tp_url;
    private Integer post_replylimit;
    private Integer post_delete;
    private Integer post_lock;
    private String post_lockmsg;
    private Integer post_show;
    private Integer post_edit;
    private String post_time;
    //时间格式化
    private String post_day;
    private String post_daytime;
    private String post_edittime;
    private String post_ip;
    private String post_lan_ip;
    private String post_location;
    private String post_city;
    private String post_country;
    private String post_regionName;
    private String post_lat;
    private String post_lon;


    //补充用户数据字段
    private String username;
    private String user_pass;
    private String user_nickname;
    private String user_headimg;
    private String user_bgimg;
    private String user_info;
    private Integer auth_id;
    private Integer role_id;
    private Integer user_isAlive;
    private Integer user_lock;
    private Integer user_isBlock;
    private Integer user_fo;
    private Integer user_fans;

    //也是对帖子转发喜欢状态的判断，我们将关系字段也放在这里，便于操作
    private Integer post_rel_id;
    private Integer opr_user_id;
    private Integer zf_selected;
    private Integer xh_selected;

    //通知消息字段
    private Integer current_user_id;
}
